import React, { useEffect } from "react";
import { getLayout } from '@/components/Layout'
import { getStaging } from '@/utils/getStaging'

function Home() {
  // useEffect(() => {
  //   hello();
  // });

  return (
    <div className="home">
      <div className="container">
        <h3 className="center">Home页面</h3>
        <p>欢迎来到Home页面</p>
      </div>
    </div>
  );
}
Home.getInitialProps = async (context: { req: any; }) => {
  return {
    ...getStaging(context)
  }
};
export default getLayout(Home);
